﻿/*********************************************************************************
 *Author:         OnClick
 *Version:        1.0
 *UnityVersion:   2018.3.1f1
 *Date:           2019-03-24
 *Description:    IFramework
 *History:        2018.11--
*********************************************************************************/
using UnityEngine;

namespace IFramework
{
	public interface ISoundManager
	{
        AudioSource BgmSource { get; set; }
        AudioSource SoundSource { get; set; }
        bool Mute { get; set; }
        bool BgmMute { get; set; }
        bool SoundMute { get; set; }
        bool IsPlaying { get; }
        bool BgmIsPlaying { get; }
        bool SoundIsPlaying { get; }
        float Volume {set; }
        float BgmVolume { get; set; }
        float SoundVolume { get; set; }
        void PlayBgm(AudioClip clip);

        void PlayBgm();
        void PlaySound(AudioClip clip, AudioSource source);
        void PauseBgm();
        void UnPauseBgm();
        void StopBgm();

    }
}
